package nc.ui.medpub.bd.hf00051515;

import nc.ui.bd.pub.IBDButton;
import nc.ui.medpub.bd.pub.IBDButtonCodeNo;
import nc.ui.medpub.bd.pub.bdtree.AbstractClientCtrl;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.button.IBillButton;
import nc.ui.trade.treecard.ITreeCardController;
import nc.vo.medpub.bd.hf00051515.FileSecretClsVO;
import nc.vo.medpub.bd.hf00051515.constant.IFileSecretClsConstant;
import nc.vo.trade.pub.HYBillVO;

public class ClientCtrl extends AbstractClientCtrl implements ITreeCardController,ISingleController{

    @Override
    public String getBillType() {
        return IFileSecretClsConstant.FUNCODE;
    }

    @Override
    public String[] getBillVoName() {
        return new String[]{HYBillVO.class.getName(),FileSecretClsVO.class.getName(),FileSecretClsVO.class.getName()};
    }

    @Override
    public String getPkField() {
        return FileSecretClsVO.PK_FILESECRETCLS;
    }
    public String getChildPkField() {
        return FileSecretClsVO.PK_FILESECRETCLS;
    }
    @Override
    public int[] getCardButtonAry() {

        int[] cardButtonAry = new int[] { 
                IBillButton.Add, 
                IBillButton.Save,
                IBillButton.Cancel, 
                IBillButton.Edit, 
                IBillButton.Delete,
                IBillButton.Refresh, 
                IBDButtonCodeNo.BTN_VO_PARENT_SEAL,
                IBillButton.Print,
                //IBDButton.EXPORT,
                };

        return cardButtonAry;
    }
}
